<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">

    <title>{$logo.web_name_en} 仪表盘 || {$logo.web_name_en} 会员主页</title>

    <meta name="keywords" content="">
    <meta name="description" content="">

    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html" />
    <![endif]-->
    <include file="common_css"/>
</head>

<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
    <div id="wrapper">
        <!--左侧导航开始-->
        <nav class="navbar-default navbar-static-side" role="navigation">
            <div class="nav-close"><i class="fa fa-times-circle"></i>
            </div>
            <div class="sidebar-collapse">
                <ul class="nav" id="side-menu">
                    <li class="nav-header">
                        <div class="dropdown profile-element">
                            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                                    <img src="__ROOT__/{$logo.crm_logo}"/>
                                    <!--<span class="block m-t-xs" style="font-size:20px;">
                                        <i class="fa fa-area-chart"></i>
                                        <strong class="font-bold">{$logo.web_name_en}</strong>
                                    </span>-->
                                </span>
                            </a>
                        </div>
                        <div class="logo-element">{$logo.web_name_en}
                        </div>
                    </li>
                    <li class="hidden-folded padder m-t m-b-sm text-muted text-xs">
                        <span class="ng-scope">分类</span>
                    </li>
                    <li>
                        <a class="J_menuItem"  href="__MODULE__/Index/index_frame.html">
                            <i class="fa fa-home"></i>
                            <span class="nav-label">仪表盘</span>
                            <span class="fa arrow"></span>
                        </a>
                    </li>

                    <foreach name="menu_list" item="li">
                        <li>
                            <a  href="javascript:void(0)">
                                <i class="fa {$li.class}"></i>
                                <span class="nav-label">{$li.menu_name}</span>
                                <span class="fa arrow"></span>
                            </a>
                            <foreach name="second_menu" item="se">
                                <if condition="$se['menu_parent'] eq $li['menu_id'] ">
                                    <ul class="nav nav-second-level">
                                        <li><a class="J_menuItem" _href="javascript:void(0)" href="__MODULE__/{$se.menu_href}" data-title="{$se.menu_name}">{$se.menu_name}</a></li>
                                    </ul>
                                </if>

                            </foreach>
                        </li>
                    </foreach>
                </ul>
            </div>
        </nav>
        <!--左侧导航结束-->

        <!--右侧部分开始-->
        <div id="page-wrapper" class="gray-bg dashbard-1">
            <div class="row border-bottom">
                <nav class="navbar navbar-static-top" role="navigation" style="margin-top: 20px;border:1px solid #47b7f8;">
                    <!--style="margin-top: 20px;border:1px solid red;"-->
                    <div class="navbar-header"><a class="navbar-minimalize minimalize-styl-2 btn btn-info " href="#"><i class="fa fa-bars"></i> </a>
                        <form role="search" class="navbar-form-custom" method="post" action="">
                            <div class="form-group">
                                <input type="text" value="欢迎您:{$user.user_id}" disabled="disabled" class="form-control" name="top-search" id="top-search">
                            </div>
                        </form>
                    </div>

                    <ul class="nav navbar-top-links navbar-right">
                        <li class="dropdown">
                            <a  class="J_menuItem" data-toggle="dropdown" id="loginOut" href="__URL__/loginOut">
                                <!--class="dropdown-toggle count-info"-->
                                <i class="fa fa-power-off"></i> <span class="label label-primary"></span>
                            </a>
                        </li>

                    </ul>
                </nav>
            </div>
            <div class="row J_mainContent" id="content-main">
                <iframe id="J_iframe" width="100%" height="100%" src="__APP__/User/Index/index_frame.html?v=4.0" frameborder="0" data-id="__APP__/Admin/Index/index_frame.html" seamless></iframe>
            </div>
        </div>
        <!--右侧部分结束-->
    </div>


    <include file="common_js"/>
    <!-- 自定义js -->
    <script src="__PUBLIC__/admin/js/hAdmin.js?v=4.1.0"></script>
    <script type="text/javascript" src="__PUBLIC__/admin/js/index.js"></script>
<div style="text-align:center;">
<!--<p>来源:<a href="http://www.mycodes.net/" target="_blank">源码之家</a></p>-->
</div>
<script type="text/javascript">
    $("#loginOut").on('click',function () {
        var index = layer.load(0, {shade: false}); //0代表加载的风格，支持0-2
       // setTimeout(function () {layer.close(index);}, 2000);
        location.href='__URL__/loginOut';
    })
</script>

</body>

</html>
